function [ out ] = appendData(data1, data2)
disp('Append: Appending data');
%% Append data2 to data1
d1f = data1(:);
ind = 1;
while ind<=length(d1f)
   if isempty(d1f(ind).cam_id)
       d1f(ind) = []; % delete empty values
   else
       ind = ind+1;
   end 
end
d2f = data2(:);
ind = 1;
while ind<=length(d2f)
   if isempty(d2f(ind).cam_id)
       d2f(ind) = []; % delete empty values
   else
       ind = ind+1;
   end 
end


data = [d1f; d2f];
out = organize(data);

end